package com.amoos.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.amoos.service.HelloService;
@Service/*发布服务。注意！加的是dubbo的注解！不是spring的注解！！！*/
public class HelloServiceImpl implements HelloService {


    @Override
    public String sayHello(String name) {
        return "hello "+name;
    }
}
